package ooday02;

public class OverrideDemo {
    public static void main(String[] args) {
        Student s = new Student("马云炜",18,"无锡","2502","1");
        s.sayHi();
        Teacher t = new Teacher("翟瑞杰",20,"上海",10000);
        t.sayHi();
        Doctor d = new Doctor("张三",66,"中国","护士");
        d.sayHi();
    }
}
